<%@ page language="java" import="java.util.*,com.ssh.model.Users" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
	
	Users user=(Users)session.getAttribute("LOGINUSER");
    if(user==null){  
        Users u=new Users();  
		u.setId(0);
		u.setUsername("default");
		u.setPassword("default");
		user=u;
   }
   
%>

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Lumino - Dashboard</title>

<link href="<%=request.getContextPath()%>/css/bootstrap.min.css" rel="stylesheet">
<link href="<%=request.getContextPath()%>/css/datepicker3.css" rel="stylesheet">
<link href="<%=request.getContextPath()%>/css/styles.css" rel="stylesheet">

<!--[if lt IE 9]>
<script src="<%=request.getContextPath()%>/js/html5shiv.js"></script>
<script src="<%=request.getContextPath()%>/js/respond.min.js"></script>
<![endif]-->

</head>

<body>
	<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
		<div class="container-fluid">
			<div class="navbar-header">
				<button type="button" class="navbar-toggle collapsed"
					data-toggle="collapse" data-target="#sidebar-collapse">
					<span class="sr-only">Toggle navigation</span> <span
						class="icon-bar"></span> <span class="icon-bar"></span> <span
						class="icon-bar"></span>
				</button>
				<a class="navbar-brand" href="#"><span>XX管理系统</span>后台管理</a>
				<ul class="user-menu">
					<li class="dropdown pull-right"><a href="#"
						class="dropdown-toggle" data-toggle="dropdown"><span
							class="glyphicon glyphicon-user"></span> <%=user.getUsername() %> <span class="caret"></span>
					</a>
						<ul class="dropdown-menu" role="menu">
							<li><a href="#"><span class="glyphicon glyphicon-user"></span>
									Profile</a>
							</li>
							<li><a href="#"><span class="glyphicon glyphicon-cog"></span>
									Settings</a>
							</li>
							<li><a href="#"><span
									class="glyphicon glyphicon-log-out"></span> Logout</a>
							</li>
						</ul></li>
				</ul>
			</div>
		</div>
		<!-- /.container-fluid -->
	</nav>

</body>

</html>
